Feature: Delete a navigation link in secondary menu
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 0m 28.823s |
Scenario: Delete a navigation link in secondary menu
Given
I navigate to page ""
0m 2.800s
When
I enter "" into input field having id "ember8"
0m 2.108s
When
I enter "" into input field having id "ember10"
0m 2.121s
Then
I click on element having id "ember12"
0m 2.086s
Then
I click on element having css selector "a[href*='design']"
0m 2.086s
Then
I enter "Enlace adicional" into input field having css selector "#secondary-navigation > .gh-blognav-item .gh-blognav-label > input"
0m 2.216s
Then
I click on element having css selector "main button:first-child"
0m 2.128s
Then
I navigate to page ""
0m 2.303s
Then
I count elements having css selector "header nav .site-nav-right ul li" and store count in variable
0m 0.022s
Then
I navigate to page "http://localhost:2368/ghost/#/settings/design"
0m 2.376s
Then
I click on element having css selector "a[href*='design']"
0m 2.081s
Then
I click on element having css selector "#secondary-navigation > .sortable-objects > div:last-child button.gh-blognav-delete"
0m 2.097s
Then
I click on element having css selector "main button:first-child"
0m 2.107s
Then
I navigate to page "http://localhost:2368"
0m 2.275s
Then
I compare elements having css selector "header nav .site-nav-right ul li" with stored variable minus 1
0m 0.016s
Screenshots
Given I navigate to page ""
When I enter "" into input field having id "ember8"
When I enter "" into input field having id "ember10"
Then I click on element having id "ember12"
Then I click on element having css selector "a[href*='design']"
Then I enter "Enlace adicional" into input field having css selector "#secondary-navigation > .gh-blognav-item .gh-blognav-label > input"
Then I click on element having css selector "main button:first-child"
Then I navigate to page ""
Then I count elements having css selector "header nav .site-nav-right ul li" and store count in variable
Then I navigate to page "http://localhost:2368/ghost/#/settings/design"
Then I click on element having css selector "a[href*='design']"
Then I click on element having css selector "#secondary-navigation > .sortable-objects > div:last-child button.gh-blognav-delete"
Then I click on element having css selector "main button:first-child"
Then I navigate to page "http://localhost:2368"
Then I compare elements having css selector "header nav .site-nav-right ul li" with stored variable minus 1